package com.deke.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.deke.entity.AclUser;
import com.deke.system.vo.UserVo;
import com.deke.vo.Result;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author ：Username 刘亦辰（59372312@qq.com）
 * @date ：Created in 2022/12/1 18:34
 * @description：
 * @modified By：
 * @version:
 **/
public interface AclUserService {

    /**
     * @create by: Username 刘亦辰 
     * @description: 根据用户名查用户 
     * @create time: 2022/12/1 18:13
     * @param  username
     * @return :  AclUser
     **/
    public AclUser queryByUsername(String username);


    public Result<AclUser> getUserinfo();

    public Result<IPage<AclUser>> queryByConditionPage(Integer current, Integer pageSize, UserVo userVo);

    public Result addUserByUser(@RequestBody UserVo userVo);

    public Result updateUserStatusByid(String id, Integer deleted);

    public Result updateUserByUser(AclUser aclUser);

    public Result deleteUserById(String id);
}
